package xin.mydreams.mybill.widget.bill.service;

import org.springframework.data.domain.Page;
import org.springframework.data.repository.query.Param;
import xin.mydreams.mybill.widget.bill.entity.Bill;
import xin.mydreams.mybill.widget.bill.entity.ClassInfo;

import java.util.Date;
import java.util.List;

public interface IBillService {
    public Bill save(Bill bill);

    public void delete(String id);

    public Page<Bill> pageList(int pageNo, int pageSize, String time);

    public Bill findById(String id);

    public List<ClassInfo> groupByCreatedUser(String time);
}
